package com.turing.post.datatranfer.util;

import java.math.BigInteger;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.organization.util.IssueCompany;
import com.turing.post.util.PCPSApplicationException;

/**
 * 激活卡业务接口
 * 
 * @author kangzhe
 * 
 */
@Remote
@Local
public interface ActivateCardBusiness {

	/**
	 * 激活卡信息迁移
	 * 
	 * @param batchNo
	 * @throws PCPSApplicationException
	 */
	public void tranferActivateCard(String issueCompanyNo, String batchNo)
			throws PCPSApplicationException;

	/**
	 * 迁移单张卡数据
	 * 
	 * @param issueCompany
	 * @param cardSeqNo
	 * @param ac
	 * @param issueBranch
	 * @param saleBranch
	 * @param cardClassicId
	 * @param ccobj
	 * @throws PCPSApplicationException
	 */
	public void insertTranferInfos(IssueCompany issueCompany, String cardSeqNo,
			com.turing.post.datatranfer.util.ActivateCard ac,
			BigInteger cardFaceId, String saleBranchNo,
			BigInteger cardClassicId, BigInteger cardParVal)
			throws PCPSApplicationException;

	/**
	 * 插入售卡
	 * 
	 * @param issueCompanyNo
	 * @param cardSeqNo
	 * @param cardFaceId
	 * @param saleBranchNo
	 */
	public void insertSaleCard(String issueCompanyNo, String cardSeqNo,
			BigInteger cardFaceId, String saleBranchNo, BigInteger cardParVal,
			BigInteger cardClassicId)throws PCPSApplicationException;
}
